
#ifndef USE_MUTEX_H_
#define USE_MUTEX_H_

#include <cstdint>
#include <mutex>

using namespace std;

class UseMutex
{
public:
	UseMutex();
	~UseMutex();

	void inc();
	uint64_t get_count();

private:
	static uint64_t count;
	static mutex count_mu;

};
#endif // !USE_MUTEX_H_



